.common(@c) {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: @c;
}

.border-1px(@_, @c) {
  position: relative;
}

.border-1px(B, @c) {
  border: none;
  &::after {
    .common(@c);

    bottom: 0;
    transform: scaleY(0.5);
  }
}

.border-1px(T, @c) {
  &::before {
    .common(@c);
    
    top: 0;
    z-index: 200;
  }
}